import { instance as request } from "../utils/request";
export const userlist = () => {
    return request({
        url: `/userlist`,
        method: "get",
    });
};

export const putuser = (data: any) => {
    return request({
        url: `/putuser`,
        method: "post",
        data,
    });
};


export const getuser = (data: any) => {
    return request({
        url: `/getuser`,
        method: "post",
        data,
    });
};




export const deluser = (data: any) => {
    return request({
        url: `/deluser`,
        method: "post",
        data,
    });
};

export const getuserinfo = () => {
    return request({
        url: `/getuserinfo`,
        method: "get",
    });
};

